package com.huike.clues.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huike.clues.domain.TbClueTrackRecord;
import com.huike.clues.domain.dto.TbClueTrackRecordDTO;
import com.huike.clues.domain.vo.CluePageVo;
import com.huike.clues.domain.vo.ClueTrackRecordVo;
import com.huike.clues.mapper.TbClueTrackRecordMapper;
import com.huike.clues.result.TbClueTrackRecordVO;
import com.huike.clues.service.TbClueTrackRecordService;
import com.huike.common.utils.bean.BeanUtils;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;

/**
* @author 93238
* @description 针对表【tb_clue_track_record(线索跟进记录)】的数据库操作Service实现
* @createDate 2023-10-12 06:35:46
*/
@Service
@RequiredArgsConstructor
public class TbClueTrackRecordServiceImpl extends ServiceImpl<TbClueTrackRecordMapper, TbClueTrackRecord>
    implements TbClueTrackRecordService{

    @Override
    public List<TbClueTrackRecord> selectTbClueTrackRecordList(Long clueId) {
        return null;
    }

    @Override
    public void list(Long id) {

    }

    private final TbClueTrackRecordMapper tbClueTrackRecordMapper;

    /**
     * 线索跟进记录
     * @param tbClueTrackRecordDTO
     * @return
     */
    // @Override
    // public ClueTrackRecordVo record(TbClueTrackRecordDTO tbClueTrackRecordDTO) {
    //
    //     TbClueTrackRecord tbClueTrackRecord = new TbClueTrackRecord();
    //     BeanUtils.copyBeanProp(tbClueTrackRecordDTO,tbClueTrackRecord);
    //
    //     //创建时间
    //     tbClueTrackRecord.setCreateTime(LocalDateTime.now().toString());
    //
    //     //创建用户
    //
    //     //return tbClueTrackRecordMapper.record(tbClueTrackRecord);
    //     return null;
    // }

    @Override
    public ClueTrackRecordVo clue(TbClueTrackRecordDTO tbClueTrackRecordDTO) {
        return null;
    }

    @Override
    public List<TbClueTrackRecordVO> selectTbClueTrackRecordList(Long clueId) {
        return null;
    }

    @Override
    public CluePageVo list(Long id) {
        return null;
    }
}




